<?php function _tag_phpcms_tag_content_list($data, $number, $rows, $count, $page, $pages, $setting){ global $PHPCMS,$MODULE,$M,$CATEGORY,$TYPE,$AREA,$GROUP,$MODEL,$templateid,$_userid,$_username;@extract($setting);?><div class="mar_10">
<ul class="text_list text_list_f14">
<?php if(is_array($data)) foreach($data AS $n => $r) { ?>
<li><span class="date"><?php echo date('Y-m-d', $r[inputtime]);?></span>
 <?php if($showcatname) { ?><a href="<?php echo $CATEGORY[$r['catid']]['url'];?>" class="catname">[<?php echo $CATEGORY[$r['catid']]['catname'];?>]</a><?php } ?> <a href="<?php echo $r['url'];?>" target="<?php echo $target;?>" class="<?php echo $class;?>"><?php echo str_cut($r[title], $titlelen);?></a>
</li>
<?php } ?>
</ul>
</div>
<?php if($pages) { ?><p id="pages"><?php echo $pages;?></p><?php } ?><?php } ?>